﻿namespace T.FAS.Runtime.Action.Plugin
{
    class RefSchemaExprUtil
    {
        public class Const
        {
            public const string Code = "Code";
            public const string Text = "Text";
            public const string Name = "Name";
        }

        public static string GetExpr(string exprContent, bool isNeedAddNewLayer = false)
        {
            if (isNeedAddNewLayer)
                return $"${{{exprContent}}}";
            else
                return exprContent;
        }
    }
}
